﻿<UserControl x:Class="WorkSpace.UI.Controls.PersonalCategoryPart"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ss="clr-namespace:SmartSpace.UI.Silverlight;assembly=SmartSpace.UI.Silverlight"
    xmlns:utils="clr-namespace:WorkSpace.UI.Utils"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0" Background="#FF0075C5">

        </Grid>
        <Grid Grid.Row="1">
            <utils:HScrollingWrapper x:Name="_ctlHScrollingWrapper" Target="{Binding ElementName=_ctlScroller}"/>
            <ScrollViewer x:Name="_ctlScroller" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" Margin="20" Padding="0" BorderThickness="0">
                <StackPanel Name="_ctlPanel" Orientation="Horizontal">

                </StackPanel>
            </ScrollViewer>
            <Border Margin="0,5,0,0" BorderThickness="0" BorderBrush="#34000000" CornerRadius="5" Background="#34000000" VerticalAlignment="Top" HorizontalAlignment="Center">
                <StackPanel Orientation="Horizontal">
                    <StackPanel Name="_ctlBtnContainer" Orientation="Horizontal">

                    </StackPanel>
                    <Button Name="_ctlBtnSettings" Click="_ctlBtnSettings_Click" HorizontalAlignment="Right" Margin="5,5,5,5" VerticalAlignment="Center">
                        <Image Source="../Resources/setting.png" Width="16" Height="16"/>
                    </Button>

                </StackPanel>
            </Border>
        </Grid>
    </Grid>
</UserControl>
